from epubber.remdrer.CustomRender import CustomRender

class CustomRenderFactory(object):
    
    @classmethod
    def buildCustomRender(cls):
        renderer = CustomRender()
        renderer['document'] = renderer.handle_document
        renderer['section'] = renderer.handle_section
        renderer['subsection'] = renderer.handle_section
        renderer['subsubsection'] = renderer.handle_section
        renderer['paragraph'] = renderer.handle_section
        renderer['subparagraph'] = renderer.handle_section
        
        return renderer
        
        